﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace NetLogger
{
	public class NetPropertyBase : INotifyPropertyChanged
	{
		public event PropertyChangedEventHandler PropertyChanged;

		protected virtual void OnPropertyChanged( string propertyName )
		{
			PropertyChangedEventHandler
				h = PropertyChanged;

			if ( h != null )
			{
				h( this, new PropertyChangedEventArgs( propertyName ) );
			}
		}
	}
}
